package zb.blog.bean;

public class AuthPersonBean {
    private Integer id;
    private AuthUserBean user;//对应登录人的用户信息 1对1关系
    private String real_name;
    private String pthone;
    private String email;
    private String nickname;
    private String header_img;
    private Integer province_id;
    private Integer city_id;
    private Integer area_id;
    private String address;
    private String descr;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public AuthUserBean getUser() {
        return user;
    }

    public void setUser(AuthUserBean user) {
        this.user = user;
    }

    public String getReal_name() {
        return real_name;
    }

    public void setReal_name(String real_name) {
        this.real_name = real_name;
    }

    public String getPthone() {
        return pthone;
    }

    public void setPthone(String pthone) {
        this.pthone = pthone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getHeader_img() {
        return header_img;
    }

    public void setHeader_img(String header_img) {
        this.header_img = header_img;
    }

    public Integer getProvince_id() {
        return province_id;
    }

    public void setProvince_id(Integer province_id) {
        this.province_id = province_id;
    }

    public Integer getCity_id() {
        return city_id;
    }

    public void setCity_id(Integer city_id) {
        this.city_id = city_id;
    }

    public Integer getArea_id() {
        return area_id;
    }

    public void setArea_id(Integer area_id) {
        this.area_id = area_id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    @Override
    public String toString() {
        return "AuthPersonBean{" +
                "id=" + id +
                ", user=" + user +
                ", real_name='" + real_name + '\'' +
                ", pthone='" + pthone + '\'' +
                ", email='" + email + '\'' +
                ", nickname='" + nickname + '\'' +
                ", header_img='" + header_img + '\'' +
                ", province_id=" + province_id +
                ", city_id=" + city_id +
                ", area_id=" + area_id +
                ", address='" + address + '\'' +
                ", descr='" + descr + '\'' +
                '}';
    }
}
